(C) 1996 AROS - The Amiga Replacement OS


NAME
#include <proto/dos.h>
BPTR LoadSeg()
SYNOPSIS
STRPTR name

LOCATION
In DOSBase at offset 25
FUNCTION
Loads an executable file into memory. Each hunk of the loadfile is loaded into his own memory section and a handle on all of them is returned. The segments can be freed with UnLoadSeg().

INPUTS
name
NUL terminated name of the file.
RESULT
Handle to the loaded executable or 0 if the load failed. IoErr() gives additional information in that case.

NOTES
EXAMPLE
BUGS
SEE ALSO
UnLoadSeg()
INTERNALS
HISTORY
01.05.1997 aros
Try loading hunk files too
27.01.1997 ldp
Polish
22.12.1996 iaint
Finally, support for loading binaries in a.out format.
09.12.1996 aros
Added empty templates for all missing functions

Moved #include's into first column

03.12.1996 aros
Show symbols and their addresses for debugging purposes
24.10.1996 aros
Use the official AROS macros over the __AROS versions.
23.10.1996 aros
dos/dosextens is a system headerfile

added debug code

13.08.1996 digulla
Replaced <dos/dosextens.h> by "dos_intern.h" or added "dos_intern.h" Replaced __AROS_LA by __AROS_LHA
01.08.1996 digulla
Added standard header for all files
28.07.1996 digulla
Initial revision
28.07.1996 digulla
First CVS version of AROS